package com.mfin.bs.services;

import com.mfin.bs.mgr.factory.BaseManagerFactory;
import com.mfin.bs.mgr.interfaces.ICashBookManager;
import com.mfin.bs.mgr.interfaces.IChitFinanceManager;
import com.mfin.bs.mgr.interfaces.ICustomerInformationManager;
import com.mfin.bs.mgr.interfaces.IFinanceInformationManager;
import com.mfin.bs.mgr.interfaces.ILoanMasterManager;
import com.mfin.bs.mgr.interfaces.IUserProfileManager;
import com.mfin.log.Logger;
import com.mfin.persistence.IPersistenceGovernor;

public abstract class BaseImpl extends Logger{

	IChitFinanceManager getChitFinanceManager(IPersistenceGovernor persistence) {
		return BaseManagerFactory.getInstance().getChitFinanceManager(persistence);
	}

	ICustomerInformationManager getCustomerInformationManager(IPersistenceGovernor persistence) {
		return BaseManagerFactory.getInstance().getCustomerInformationManager(persistence);
	}

	ILoanMasterManager getLoanMasterManager(IPersistenceGovernor persistence) {
		return BaseManagerFactory.getInstance().getLoanMasterManager(persistence);
	}

	IUserProfileManager getUserProfileManager(IPersistenceGovernor persistence) {
		return BaseManagerFactory.getInstance().getUserProfileManager(persistence);
	}

	IFinanceInformationManager getFinanceManager(IPersistenceGovernor persistence) {
		return BaseManagerFactory.getInstance().getFinanceInformationManager(persistence);
	}

	ICashBookManager getCashBookManager(IPersistenceGovernor persistence) {
		return BaseManagerFactory.getInstance().getCashBookManager(persistence);
	}
}
